<div class="actors view">
<h2><?php  echo __('Actor');?></h2>
	<div class="imagenPerson">
			<?php echo $this->Html->image($actor['Actor']['photo'],array('alt' => 'No se encuentra la imagen', 'url' => '/actors/view/'.$actor["Actor"]["id"], 'class' =>'imagen')); ?>
	</div>
	<div class="detallesPerson">
		<dl>
			<dt><?php echo __('Name'); ?></dt>
			<dd>
				<?php echo h($actor['Actor']['name']); ?>
				&nbsp;
			</dd>
			<dt><?php echo __('Birthday'); ?></dt>
			<dd>
				<?php echo h($actor['Actor']['birthday']); ?>
				&nbsp;
			</dd>
			<dt><?php echo __('Biography'); ?></dt>
			<dd id="biog">
				<?php echo h(substr($actor['Actor']['biography'],0,580).'...'); 
					  echo '<span>'.$this->Ajax->link(' [More]',array('action'=>'biography',$actor['Actor']['id']),array( 'update' => 'biog')).'</span>';
				?>
				&nbsp;
			</dd>
			<dt><?php echo __('Films'); ?></dt>
			<dd>
				<ul class="lista">
				<?php
					foreach ($actor['Film'] as $film): ?>
						<li><?php echo $this->Html->Link($film['title'],array('controller'=>'films','action'=>'view',$film['id']));?>	</li>
				<?php endforeach; ?>
				</ul>				
			</dd>
		</dl>
	</div>
</div>

